From 10aa3d34bc599232af07d8a643c9938be14cb5bf Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Mon, 8 Sep 2025 10:33:01 +0000
Subject: (김준회) 입찰 인터페이스 처리, 자재그룹명 매핑 수정, 자재그룹 뷰
 수정, 부서별 도메인 할당시 동기화 처리, 도메인 부서 할당 다이얼로그 부서목록
 스크롤 처리, 삼성중공업 사용자 global search 개선
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../_components/department-domain-assignment-dialog.tsx    | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

(limited to 'app/[lng]/evcp/(evcp)/menu-access-dept/_components/department-domain-assignment-dialog.tsx')

diff --git a/app/[lng]/evcp/(evcp)/menu-access-dept/_components/department-domain-assignment-dialog.tsx b/app/[lng]/evcp/(evcp)/menu-access-dept/_components/department-domain-assignment-dialog.tsx
index 277511cb..f8a75641 100644
--- a/app/[lng]/evcp/(evcp)/menu-access-dept/_components/department-domain-assignment-dialog.tsx
+++ b/app/[lng]/evcp/(evcp)/menu-access-dept/_components/department-domain-assignment-dialog.tsx
@@ -20,7 +20,6 @@ import {
 } from "@/components/ui/select";
 import { Textarea } from "@/components/ui/textarea";
 import { Badge } from "@/components/ui/badge";
-import { ScrollArea } from "@/components/ui/scroll-area";
 import { Label } from "@/components/ui/label";
 import { Separator } from "@/components/ui/separator";
 import { 
@@ -35,8 +34,7 @@ import {
   DepartmentNode
 } from "@/lib/users/knox-service";
 import { 
-  getDepartmentDomainAssignmentsByDepartments,
-  type UserDomain 
+  getDepartmentDomainAssignmentsByDepartments
 } from "@/lib/users/department-domain/service";
 import { DOMAIN_OPTIONS, getDomainLabel } from "./domain-constants";
 
@@ -186,9 +184,8 @@ export function DepartmentDomainAssignmentDialog({
           </DialogDescription>
         </DialogHeader>
 
-        <div className="flex-1 overflow-hidden">
-          <ScrollArea className="h-full pr-4">
-            <div className="space-y-6">
+        <div className="flex-1 overflow-y-auto px-1">
+            <div className="space-y-6 pr-3">
               {/* 선택된 부서들 표시 */}
               <div className="space-y-3">
                 <Label className="text-sm font-medium flex items-center gap-2">
@@ -196,7 +193,7 @@ export function DepartmentDomainAssignmentDialog({
                   선택된 부서 ({selectedDepartments.length}개)
                 </Label>
                 
-                <div className="border rounded-md p-3 max-h-32 overflow-y-auto">
+                <div className="border rounded-md p-3 max-h-40 overflow-y-auto">
                   {Array.from(selectedDepartmentsByCompany.entries()).map(([companyCode, depts]) => (
                     <div key={companyCode} className="mb-3 last:mb-0">
                       <div className="text-sm font-medium text-muted-foreground mb-2">
@@ -234,7 +231,7 @@ export function DepartmentDomainAssignmentDialog({
                         기존 할당 정보를 조회하는 중...
                       </div>
                     ) : (
-                      <div className="border rounded-md">
+                      <div className="border rounded-md max-h-60 overflow-y-auto">
                         <Table>
                           <TableHeader>
                             <TableRow>
@@ -353,7 +350,6 @@ export function DepartmentDomainAssignmentDialog({
                 </div>
               </div>
             </div>
-          </ScrollArea>
         </div>
 
         <DialogFooter className="border-t pt-4">
-- 
cgit v1.2.3

